package org.jiucai.cas.domain;

import java.io.Serializable;
import java.util.Date;

import org.jiucai.appframework.base.domain.BaseDomain;
/**
 * 应用操作日志
 * @author zhaidw
 *
 */
public class AppLog  extends BaseDomain implements Serializable {

	private static final long serialVersionUID = -2704591639665189464L;
	private Long logId;
	private String userName;
	private Date opTime;
	private String ip;
	private String userAgent;
	private String opType;
	private String opContent;

	public AppLog() {
		super();
	}

	public Long getLogId() {
		return logId;
	}

	public void setLogId(Long logId) {
		this.logId = logId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getOpTime() {
		return opTime;
	}

	public void setOpTime(Date opTime) {
		this.opTime = opTime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getUserAgent() {
		return userAgent;
	}

	public void setUserAgent(String userAgent) {
		this.userAgent = userAgent;
	}

	public String getOpType() {
		return opType;
	}

	public void setOpType(String opType) {
		this.opType = opType;
	}

	public String getOpContent() {
		return opContent;
	}

	public void setOpContent(String opContent) {
		this.opContent = opContent;
	}

	@Override
	public String toString() {
		return "AppLog [logId=" + logId + ", userName=" + userName
				+ ", opTime=" + opTime + ", ip=" + ip + ", userAgent="
				+ userAgent + ", opType=" + opType + ", opContent=" + opContent
				+ "]";
	}

}
